DotNet Example: Complex Numbers
/documentation/pages/Guides/Dotnet Integration/Examples/DotNet Example__COLON__ Complex Numbers.xml

This sample demonstrates using a Class file, and also loading, registering and using a .NET class from a DLL in the standard location. It also demonstrates using a constructor to load a value into a .NET class when it is created.

Xbasic lacks native support for complex arithmetic, but the .NET Framework has it. Now you can perform calculations with complex numbers from Alpha Anywhere, using the .NET System.Numerics.Complex class.

Create and save the class file Numerics.Complex:

Page Numbers and Dates
/documentation/pages/Guides/Report/Adding System and Calculated Fields/Page Numbers and Dates.xml
You may use the Drag-and-Drop List to place objects on a layout of any type:
Toggle line numbers in Controls display
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Menu/Toggle line numbers in Controls display.xml
This option adds line numbers to the side of the controls tree, or removes the line numbers if they are already present.
How to Format Numbers Using Currency Symbols
/documentation/pages/HowTo/Internationalization/Format Numbers Using Currency Symbols.xml
You can format numbers in the Grid (both server side and client side formatting) using the currency symbol from every country in the world. The format expression uses the new formatCurrency() function. You can specify if the currency symbol should lead or trail the number.
DotNet::Services.GenerateWebServiceClientFromURL Method
/documentation/pages/Ref/Api/Namespace/DotNet/Services/GenerateWebServiceClientFromURL Method.xml
Retrieves a WSDL File from a web site using HTTP and uses the descriptor to generate a .NET assembly.
DotNet Namespace
/documentation/pages/Ref/Api/Namespace/DotNet/index.xml
DotNet classes to load and use DotNet Assemblies.
DotNet::Saml Namespace
/documentation/pages/Ref/Api/Namespace/DotNet/Saml/index.xml
DotNet SAML classes to use SAML.
DotNet::Services Class
/documentation/pages/Ref/Api/Namespace/DotNet/Services/index.xml
Implements all of the .NET integration functions.
DotNet Example: Using System.Text.StringBuilder
/documentation/pages/Guides/Dotnet Integration/Examples/DotNet Example__COLON__ Using System.Text.StringBuilder.xml
The script below shows an interactive window session in which the .NET type System.Text.StringBuilder is mapped into the Xbasic type system.
DotNet::AssemblyReference Class
/documentation/pages/Ref/Api/Namespace/DotNet/AssemblyReference/index.xml
Defines an assembly by either referencing a file or through elements that make up the canonical name.